package com.proxy;

import com.proxy.model.TOrder;
import com.proxy.service.OrderService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "com.proxy")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        OrderService orderService = BeanConstext.getBean(OrderService.class);

       // orderService.insert();

        TOrder orderServiceOrder = orderService.getOrder(300L);
        System.out.println(orderServiceOrder);
    }
}
